#include <iostream>

#include "heap.h"
using namespace std;
int main()
{
    Heap myHeap;
    int array[] = {9, 17, 65, 32, 45, 78, 87, 53, 1};
    for (int i = 0; i < sizeof(array) / sizeof(array[0]); i++)
    {
        myHeap.insertData(array[i]);
    }
    cout << myHeap.getHeapTop() << endl;

    myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;

myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;
myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;
myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;
myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;

myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;
myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;
myHeap.deleteData();
    cout << myHeap.getHeapTop() << endl;



    return 0;
}